/*
 * @Author: 飞越疯人院 353362604@qq.com
 * @Date: 2022-06-13 16:26:21
 * @LastEditors: 飞越疯人院 353362604@qq.com
 * @LastEditTime: 2022-09-22 16:57:04
 * @FilePath: \adminstration\src\Common\Loading\Loading.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

const Loading = ({ text, color = {} }) => {
    return (
        <div className="LoadingBox" style={color}>
            <div className="wrapper">
                <div className="circle"></div>
                <div className="circle"></div>
                <div className="circle"></div>
                <div className="shadow"></div>
                <div className="shadow"></div>
                <div className="shadow"></div>
                <span> {text || 'Loading'} </span>
            </div>
        </div>
    )
}
export default Loading
